package com.zyd.blog.homeart.service;


import com.zyd.blog.persistence.beans.*;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liusongqi
 * @since 2020-03-05
 */
public interface IFineArtService {
        Integer insertFineArt(String fineTitle,String fineContent,String draft,String fineImage,String list,String userId);
        Map<String,Object> soft(String userId,int page,int count);
        Map<String,Object> personalSoft(String userId,int page,int count);
        Map<String,Object> searchDesign(String value,String userId,int page,int count);
        Map<String,Object> personalSoftOrder(String userId,int page,int count,String coverUserId);
        Integer fabulous(String id,String userId,String category,String state) throws Exception;

        Integer reduceZan(String id,String userId,String category,String state) throws Exception;


        List<FineArt> recommendArticle(String designStyle, String designPlace) throws Exception;

        Map<String,Object> specific(String designId, String userId,String state) throws Exception;

        Map<String,Object> myAddFine(String userId,int page,int count) throws Exception;

        Map<String,Object> myDraft(String userId,int page,int count) throws Exception;

        Map<String,Object> bianji(String id) throws Exception;

        Integer delete(String id,String state) throws Exception;

        Integer update(String fineId,String fineTitle, String fineContent, String draft, String fineImage, String list,String userId,String shopId);

        Integer userCount(String id,String state);


}
